#ifndef ENEMYPLANE2_H
#define ENEMYPLANE2_H

#include <QObject>
#include <QPixmap>
#include <QRect>
#include "config.h"

class EnemyPlane2
{
public:
    EnemyPlane2();
    void init();
    void hit();
    void updatePosition();
    bool isDead();
    QRect getRect();
    bool isFree();
    QPixmap m_enemy;
    QPixmap m_explodePixmaps[BOMBMAX];
    int m_x, m_y;
    int m_Speed;
    QRect m_Rect;
    bool m_Free;
    int m_hitCount;
};

#endif // ENEMYPLANE2_H
